package com.example.hospitalsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.hospitalsystem.pojo.dto.notice.NoticePageQueryDto;
import com.example.hospitalsystem.pojo.entity.Notice;
import com.example.hospitalsystem.result.Result;

public interface NoticeService extends IService<Notice> {

    Result<Object> getNewest();

    Result<Object> getTopTen();

    Result<Object> deleteNotice(Integer id);

    Result<Object> getAllNotice(NoticePageQueryDto noticePageQueryDto);
}
